
#****************************************************************************
#
#
# This is a GNU make (gmake) makefile
#****************************************************************************
##############################################################################

CUR_DIR = ./ #$(shell pwd)

.PHONY: all hylib 3party robot chat clean

all: hylib 3party robot chat
	
clean:robot_clean chat_clean hylib_clean 3party_clean	

3party:
	cd $(CUR_DIR)/3party && $(MAKE) release 
3party_clean:
	cd $(CUR_DIR)/3party && $(MAKE) clean
hylib:
	cd $(CUR_DIR)/hylib && $(MAKE) release 
hylib_clean:
	cd $(CUR_DIR)/hylib && $(MAKE) clean 
robot:
	cd $(CUR_DIR)/server/robot && $(MAKE) release 
robot_clean:
	cd $(CUR_DIR)/server/robot && $(MAKE) clean 	
chat:
	cd $(CUR_DIR)/server/chat && $(MAKE) release 
chat_clean:
	cd $(CUR_DIR)/server/chat && $(MAKE) clean 


